package com.ztgf.commodity.models.bo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.ztgf.common.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * author: chenyu.wang
 * date: 2020-06-09 17:47
 * Description: 卖家个人中心商品库存管理bo
 */
@Data
public class CommodityInventoryBO extends BaseBO implements Serializable {

    @ApiModelProperty(value = "商品编号")
    private String commodityNumber;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "最低价")
    private BigDecimal minPrice;

    @ApiModelProperty(value = "最高价")
    private BigDecimal maxPrice;

    @ApiModelProperty(value = "店铺id")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long shopId;
}
